import 'package:flutter/material.dart';
import '../widgets/documentation_viewer.dart';

class SettingsScreen extends StatelessWidget {
  const SettingsScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView(
        children: [
          ListTile(
            leading: const Icon(Icons.description),
            title: const Text('查看项目文档'),
            onTap: () {
              Navigator.push(
                context,
                MaterialPageRoute<void>(
                  builder: (context) => const DocumentationViewer(),
                ),
              );
            },
          ),
          // 其他设置项...
        ],
      ),
    );
  }
}
